﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using MobileSales.Model.Localization;

namespace MobileSales.Model.Documents
{
    [DataContract]
    public class PaymentMethod
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        [Display(Name = "Name", ResourceType = typeof(ModelStrings))]
        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ValidationStrings))]
        public string Name { get; set; }
    }
}
